luci-app-firewall: suppress lengthy masq description in zone table
authorJo-Philipp Wich <[email protected]>
Wed, 15 Mar 2023 22:33:56 +0000 (23:33 +0100)
committerJo-Philipp Wich <[email protected]>
Wed, 15 Mar 2023 22:34:57 +0000 (23:34 +0100)
Ensure that the description of the masquerade option does not end up in
the grid section overview as it messes up the table layout.

Fixes: c54efde717 ("luci-app-firewall: Add clarification to masquerading option")
Signed-off-by: Jo-Philipp Wich <[email protected]>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js

index 53a07b6fb134658ac30725d5ea51b9cc092b706a..e19e466e1b3791799dadc1964bcc65559d4c4aea 100644 (file)
@@ -95,6 +95,7 @@ return view.extend({
                s.addremove = true;
                s.anonymous = true;
                s.sortable  = true;
+               s.nodescriptions = true;
 
                s.handleRemove = function(section_id, ev) {
                        return firewall.deleteZone(section_id).then(L.bind(function() {